package com.loginlib.di.component;

import android.content.Context;

import com.loginlib.di.module.LoginModule;
import com.loginlib.login.LoginActivity;
import com.loginlib.login.dialog.InitDataDialog;
import com.loginlib.login.dialog.SetDialog;
import com.wanhe.shoppingcart.manager.CartManager;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Created by yanchx on 2017/6/28.
 */
@Singleton
@Component(modules = LoginModule.class)
public interface LoginActivityComponent {
    Context getContext();
    void inject(LoginActivity activity);
    void inject(SetDialog dialog);
    void inject(InitDataDialog dialog);
    void inject(CartManager cartManager);
}
